// ============================== 导入依赖 ============================== //

// ============================== 导出配置 ============================== //

export default {
  color: ['#2B74E5', '#00B07E', '#F3B844', '#949AFF', '#FC6278', '#B8C5D9'],
  tooltip: {
    trigger: 'item',
    formatter(param) {
      return `${param.marker} ${param.name}　${param.value}　${param.percent}%`
    },
  },
  grid: {
    top: 0,
    left: 0,
    right: 0,
    bottom: 0,
    containLabel: true,
  },
  legend: {
    top: 'center',
    right: 0,
    orient: 'vertical',
    icon: 'circle',
    type: 'scroll',
  },
  series: [
    {
      name: '分项用能',
      type: 'pie',
      data: [],
      radius: ['0%', '70%'],
      center: ['35%', '50%'],
      roseType: 'radius',
      label: {
        show: false,
      },
    },
  ],
}
